import { Entity, Column, PrimaryGeneratedColumn } from 'typeorm';

@Entity()
export class video {
  @PrimaryGeneratedColumn()
  id: number;

  @Column({type:'varchar', length: 255,nullable:true })
  location: string;


  @Column({type:'varchar', length: 255,nullable:true })
  name: string;

  @Column('datetime')
  updateTime: boolean;

  @Column({type:'varchar', length: 255,nullable:true })
  type: number;
}
